package top.idempiere.ui.zk.DPBroadcastMessage.factory;

import org.adempiere.webui.dashboard.DPBroadCastMessage;
import org.adempiere.webui.factory.IDashboardGadgetFactory;
import org.zkoss.zk.ui.Component;

public class DPBroadcastMessageFactory implements IDashboardGadgetFactory {
	@Override
	public Component getGadget(String uri, Component parent) {

		if (uri != null && uri.indexOf("/zul/broadcastMessage.zul") >= 0 )
		{
		   return new DPBroadCastMessage();
		}
		return null;
	}
}
